home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
util
/
misc
/
dirdb.lha
/
RSound
< prev
next >
Wrap
AmigaDOS Script File
|
1993-03-10
|
683b
|
17 lines
.key num,rest
; Plays 'num' random sounds, selected from my sys:DirDBs/sound.db database
; Usage:
; If 'num' is not specified, plays 1 sound
; Specify -1 to keep playing
; Specify a value for 'num', followed by "unique" to play different random sounds
.bra {
.ket }
; Uncomment the following line if your speakers, like mine,
; switch off after a period of time. Also substitute an apropriate
; sample name.
;rx "ADDRESS play 'file' 'sound:Bass_snap' '-S'"
;Make sure DBEntry is in your path, or change to show full path
;Make sure your db/Path variable includes where to find "sound.db"
DBEntry Sound.db execute pre="rx *"address play 'file' '" post="' '-S'*"" {num} random {rest}